//
//  _1_Core_Data_PersistenceAppDelegate.h
//  11 Core Data Persistence
//
//  Created by smu on 11-7-12.
//  Copyright 2011年 duk. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PersistenceViewController;
@interface _1_Core_Data_PersistenceAppDelegate : NSObject <UIApplicationDelegate> {

}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain) IBOutlet PersistenceViewController *rootController;
- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end
